<?PHP
// ========== PHP Environment layer ===========

ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);

function exception_error_handler($errno, $errstr, $errfile, $errline ) {
	throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
}

set_error_handler("exception_error_handler");

session_start();